﻿
// opencv_demo1.h: PROJECT_NAME 应用程序的主头文件
//

#pragma once

#include <opencv2\opencv.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/core.hpp>
#include <opencv2\imgproc\types_c.h>
#include <opencv2/imgcodecs.hpp>

using namespace cv;

class watermask_cv_dct
{
public:
	//std::vector<Mat> planes;
	std::vector<Mat> m_allPlanes;

	Mat addImageWatermarkWithText(Mat image, std::string watermarkText);
	Mat getImageWatermarkWithText(Mat image);

	Mat splitSrc(Mat mat);
	Mat antitransformImage(Mat complexImage, std::vector<Mat> allPlanes);
    Mat optimizeImageDim(Mat image);
	Mat createOptimizedMagnitude(Mat complexImage);
    void shiftDFT(Mat image);
};
